package com.system.vote.admin.service;

import com.system.vote.admin.entity.TVote;
import com.baomidou.mybatisplus.extension.service.IService;
import com.system.vote.admin.entity.TWxUserinfo;
import com.system.vote.core.customBean.PageBean;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_vote(投票表)】的数据库操作Service
* @createDate 2023-10-26 17:20:40
*/
public interface TVoteService extends IService<TVote> {

   public TVote getTVoteByTitle(String title);

   public Long getTVoteAutoId(TVote tVote);

   public List<TWxUserinfo> getUserListByItemId(Long id, Long pageNum,Long pageSize);

   public int statisticsVoting(Long uid);

   public int statisticsEndVote(Long uid);

   public int statisticsVoted(Long uid);

}
